Enable PHP Script
2013/07/08 |
Enable PHP Script to use it.
|
|
[1] | Install PHP |
[root@www ~]#
[root@www ~]# yum -y install php php-mbstring php-pear systemctl restart httpd.service |
[2] | Create a PHP test page and access to it with a web browser. It's OK if following page is shown. |
[root@www ~]#
vi /var/www/html/index.php <html> <body> <div style="width: 100%; font-size: 40px; font-weight: bold; text-align: center;"> <?php print Date("Y/m/d"); ?> </div> </body> </html> |